<%@page import="org.ddr.board.dao.BbsDAO"%>
<%@page import="java.util.ArrayList"%>
<%@page import="org.ddr.board.BoardVO"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    <%
    	String bbsno = request.getParameter("bbsno");
    	List<BoardVO> list = new ArrayList<BoardVO>();
    	list = BbsDAO.instance.readReply(Integer.parseInt(bbsno));
    	
    	for(BoardVO vo : list){
    %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table>
	<tr>
		<td><%=vo.getContents() %>:</td>
		<td><%=vo.getUserId() %>:</td>
		<td><%=vo.getWriteDate() %></td>
	</tr>
	<%} %>
</table>
</body>
</html>